﻿using System.Configuration;
using System.Web.Mvc;

namespace SlamDunk.CMS.UI.Controllers
{
    /// <summary>
    /// 前台首页控制器
    /// </summary>
    public class HomeController : Controller
    {
        #region 01.加载视图
        /// <summary>
        /// 前台首页视图
        /// </summary>
        /// <returns>视图</returns>
        public ActionResult Index()
        {
            //重定向到Html首页
            return this.Redirect(string.Format("{0}/Index.html", ConfigurationManager.AppSettings["HtmlStorePrefix"]));
        }
        #endregion
    }
}
